import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import Details from '../views/Details.vue'
import roomList from '../views/roomList'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component: Home,
  },
  {
    path:'/details',
    component:Details
  },{
    path:"/roomList",
    component:roomList
  }
]
const router = new VueRouter({
  routes,
  mode:'hash'
})

export default router
